﻿@model S4Store.Models.AfterSaleReport.AfterSaleHealthyIndexModel
 @{
    Layout = null;
}
<div style="height:100%; overflow:auto">
@Html.Action("ReportBar", "Common", Model.BarModel)
<div style="position:relative; width:100%">
    <div style=" margin:20px;"> 
    <table  style="width:100%">
        <tr>
            <td>
            <div class="@if (Model.常态维修动态 >= 0){<text>greenhuan</text>}
                        else
                        {<text>redhuan</text>}">
                <div class="title">常态维修动态</div>
                @if (Model.常态维修动态 >= 0)
                {
                    <div class="healthyvalue" title="维修总产值完成进度和时间进度的差异">@Model.常态维修动态.toInt()%</div>
                }
                else
                {
                <div class="healthyvalue"  title="维修总产值完成进度和时间进度的差异">@Model.常态维修动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("CarTypeQuery")" target="navtab" title="车型查询">车型查询</a>
                <a class="rycx" href="@Url.Action("Index", "AfterSellerReport")" target="navtab" title="人员查询">人员查询</a>
            </div>
            </td>
            <td>
            <div class="@if (Model.事故维修动态>= 0)
                        {<text>greenhuan</text>}else{<text>redhuan</text>}">
                <div class="title">事故维修动态</div>
                @if (Model.事故维修动态 >= 0)
                {
                    <div class="healthyvalue" title="维修总产值完成进度和时间进度的差异">@Model.事故维修动态.toInt()%</div>
                }
                else
                {
                     <div class="healthyvalue" title="事故车总产值完成进度和时间进度的差异">@Model.事故维修动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("Index", "Accident")" target="navtab" title="车型查询">车型查询</a>
                <a class="rycx" href="@Url.Action("AccidentCars_SellerIndex", "Accident")" target="navtab" title="人员查询">人员查询</a>
            </div>
            </td>
            <td>
            <div class="@if (Model.客户管理动态 >= 0)
                        {<text>greenhuan</text>}else{<text>redhuan</text>}">
                <div class="title">客户管理动态</div>
                @if (Model.客户管理动态 >= 0)
                {
                    <div class="healthyvalue" title="客户流失率与目标流失率的差值">@Model.客户管理动态.toInt()%</div>
                }
                else
                {
                <div class="healthyvalue" title="客户流失率与目标流失率的差值">@Model.客户管理动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("FrontServiceIndex", "AfterSellerReport")" target="navtab" title="前台SA">前台SA</a>
                <a class="rycx" href="@Url.Action("BackServiceIndex", "AfterSellerReport")" target="navtab" title="客服CR">客服CR</a>
            </div>
            </td>
            <td>
            <div class="@if (Model.用品销售动态 >= 0)
                        {<text>greenhuan</text>}else{<text>redhuan</text>}">
                <div class="title">用品销售动态</div>
                @if (Model.用品销售动态 >= 0)
                {
                    <div class="healthyvalue" title="用品销售完成进度和时间进度的差异">@Model.用品销售动态.toInt()%</div>
                }
                else
                {
                <div class="healthyvalue" title="用品销售完成进度和时间进度的差异">@Model.用品销售动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("CarDecoratingSaleIndex", "AfterSaleDecoratingReport")" target="navtab" title="车型查询">车型查询</a>
                <a class="rycx" href="@Url.Action("CarDecoratingSellerIndex", "AfterSaleDecoratingReport")" target="navtab" title="人员查询">人员查询</a>
            </div>
            </td>
            <td>
            <div class="@if (Model.养护产品动态 >= 0)
                        {<text>greenhuan</text>}else{<text>redhuan</text>}">
                <div class="title">养护产品动态</div>
                @if (Model.养护产品动态 >= 0)
                {
                    <div class="healthyvalue" title="养护产品完成进度和时间进度的差异">@Model.养护产品动态.toInt()%</div>
                }
                else
                {
                <div class="healthyvalue" title="养护产品完成进度和时间进度的差异">@Model.养护产品动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("CarMaintenceSaleIndex", "AfterSaleMaintentceReport")" target="navtab" title="车型查询">车型查询</a>
                <a class="rycx" href="@Url.Action("CarMaintenceSellerIndex", "AfterSaleMaintentceReport")" target="navtab" title="人员查询">人员查询</a>
            </div>
            </td>
        </tr>
        <tr><td colspan="3" height="20"></td></tr>
        <tr>
        
            <td>
            <div class="@if (Model.备件库存动态 >= 0)
                        {<text>greenhuan</text>}else{<text>redhuan</text>}">
                <div class="title">备件库存动态</div>
                @if (Model.备件库存动态 >= 0)
                {
                    <div class="healthyvalue" title="实际备件库存与目标备件库存之间的差异">@Model.备件库存动态.toInt()%</div>
                }
                else
                {
                <div class="healthyvalue" title="实际备件库存与目标备件库存之间的差异">@Model.备件库存动态.toInt()%</div>
                }
                <a class="cxcx" href="@Url.Action("SparePartIndex", "SparePartReport")" target="navtab" title="备件库存进销管理">进销管理</a>
                <a class="rycx" href="@Url.Action("RemainingInventory", "SparePartReport")" target="navtab" title="滞留库存">滞留库存</a>
            </div>
            </td>
            

        </tr>
    </table>    
    </div>
    </div>
</div>